/*
 * Copyright 1999-2015 dangdang.com.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * </p>
 */

package com.gome.ocean.common.constants;

/**
 * 根节点名称的常量类.
 * 
 * @author haqiaolong 2016年7月14日 上午10:50:01
 * @since 5.0.0
 */
public final class ZkContants {

    public static final String ROOT          = "/gddl";

    public static final String ELECTION_ROOT = ROOT + "/election";

    public static final String SERVICES      = ELECTION_ROOT + "/services";

    public static final String LEADER_HOST   = ELECTION_ROOT + "/host";

    public static final String LATCH         = ELECTION_ROOT + "/latch";
}
